package uk.ltd.pomegranate.wii;

// http://www.world-of-cha0s.hostrocket.com/WiiRemoteJ/

import java.util.logging.ConsoleHandler;
import java.util.logging.Level;
import java.util.logging.Logger;

public class WiiMan {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		logger().setUseParentHandlers(false);
		logger().addHandler( new ConsoleHandler() );
		logger().setLevel( Level.ALL );
		System.setProperty("bluecove.jsr82.psm_minimum_off", "true");
		
		WiiMan.log( Level.INFO, "WiiMan: Starting...");
		new WiimoteDataHandler();
		
	}
	
	public static void log( Level level, String msg ) {
		logger().log( level, msg );
	}
	
	public static Logger logger(  ) {
		return Logger.getLogger( "uk.ltd.pomegranate.wii");
	}
}
